package cn.wtc.ymcc.constants;

public enum ErrorCode {

    SUCCESS("20000", "成功"),
    SYSTEM_ERROR("30000", "系统异常,稍后重试");



    private String code;
    private String message;

    private ErrorCode(String code, String message) {
        this.code = code;
        this.message = message;
    }

    public String getCode() {
        return code;
    }
    public String getMessage() {
        return message;
    }
}
